import request from '@/config/axios'
/* 知识库 */

// 数据添加
export const insertHybaseKnowledge = async (params) => {
  return await request.post({ url: '/knowledgeGraph/insertHybaseKnowledge', data: params })
}
// 数据修改
export const updateHybaseKnowledge = async (params) => {
  return await request.post({ url: '/knowledgeGraph/updateHybaseKnowledge', data: params })
}
// 列表查询
export const getKnowledgePage = async (params) => {
  return await request.get({ url: '/knowledgeGraph/getKnowledgePage' + '?graphId=' + params })
}
// 数据删除
export const deleteHybaseKnowledge = async (params) => {
  return await request.get({ url: '/knowledgeGraph/deleteHybaseKnowledge' + '?ids=' + params })
}
